package com.macro.mall.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class SapAccount implements Serializable {
    @ApiModelProperty(value = "账户编号")
    private Long id;

    @ApiModelProperty(value = "用户编号")
    private Long memberId;

    @ApiModelProperty(value = "用户名称")
    private String memberName;

    @ApiModelProperty(value = "账户余额")
    private BigDecimal accountBalance;

    @ApiModelProperty(value = "待收金额")
    private BigDecimal waitIncomeAmount;

    @ApiModelProperty(value = "代收利润")
    private BigDecimal waitIncomeProfit;

    @ApiModelProperty(value = "冻结金额")
    private BigDecimal freezeAmount;

    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public BigDecimal getAccountBalance() {
        return accountBalance;
    }

    public void setAccountBalance(BigDecimal accountBalance) {
        this.accountBalance = accountBalance;
    }

    public BigDecimal getWaitIncomeAmount() {
        return waitIncomeAmount;
    }

    public void setWaitIncomeAmount(BigDecimal waitIncomeAmount) {
        this.waitIncomeAmount = waitIncomeAmount;
    }

    public BigDecimal getWaitIncomeProfit() {
        return waitIncomeProfit;
    }

    public void setWaitIncomeProfit(BigDecimal waitIncomeProfit) {
        this.waitIncomeProfit = waitIncomeProfit;
    }

    public BigDecimal getFreezeAmount() {
        return freezeAmount;
    }

    public void setFreezeAmount(BigDecimal freezeAmount) {
        this.freezeAmount = freezeAmount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", memberId=").append(memberId);
        sb.append(", memberName=").append(memberName);
        sb.append(", accountBalance=").append(accountBalance);
        sb.append(", waitIncomeAmount=").append(waitIncomeAmount);
        sb.append(", waitIncomeProfit=").append(waitIncomeProfit);
        sb.append(", freezeAmount=").append(freezeAmount);
        sb.append(", createTime=").append(createTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}